package com.bo.Dao;

import java.util.List;

import com.bo.Entity.MyImage;
import com.bo.Entity.MyPage;
import com.bo.Entity.Product;

public interface ProductDao {
	
	public List<Product> createPage(final MyPage<Product> myPage);
	
	public List<Product> getAllProduct(int companyId);
	
	public Product getProduct(int id);
	
	public int save(Product product);
	
	public int update(Product product);
	
	public int delete (int id);
	
	public int count(int companyId);
	
	public void getImage(final int id,final MyImage image);

}
